﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="shengPi.aspx.cs" Inherits="App_TanTest_shengPi" %>

<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
        <asp:MultiView ID="MultiView1" runat="server">
            <asp:View ID="View1" runat="server">
                <table class="table_border_line">
                    <tr>
                        <td align="left" colspan="4" style="height: 17px">

                            <script language="javascript" type="text/javascript">
                                (new TitleBar('RegisterBar', '申领清单')).showBar();
                            </script>

                        </td>
                    </tr>
                </table>
                <table width="80%">
                    <tr>
                        <td style="width: 35px">
                        </td>
                        <td>
                            申领部门：<asp:DropDownList ID="DropDownList2" runat="server" Width="64px">
                                <asp:ListItem></asp:ListItem>
                                <asp:ListItem>财务</asp:ListItem>
                                <asp:ListItem>食堂</asp:ListItem>
                                <asp:ListItem>物资</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 35px">
                        </td>
                        <td>
                            审批状态：<asp:DropDownList ID="DropDownList1" runat="server">
                                <asp:ListItem></asp:ListItem>
                                <asp:ListItem>通过</asp:ListItem>
                                <asp:ListItem>未通过</asp:ListItem>
                                <asp:ListItem>转批</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 35px">
                        </td>
                        <td>
                            申领日期：<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="height: 36px; padding-left: 200px;">
                            <asp:Button ID="Button1" runat="server" Text="检 索" Width="86px" CssClass="button" />
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 24px;" colspan="2">
                            <asp:GridView ID="GridView1" runat="server" CssClass="GridView_table" AutoGenerateColumns="False"
                                AllowPaging="True" PageSize="3" OnPageIndexChanging="GridView1_PageIndexChanging" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" OnRowEditing="GridView1_OnRowEditing">
                                <Columns>
                                    <asp:BoundField HeaderText="申领日期" DataField="RelationName">
                                        <ItemStyle CssClass="GridView_item_center" Width="10%" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" />
                                    </asp:BoundField>
                                    <asp:BoundField HeaderText="标题" DataField="RelationSex">
                                        <ItemStyle CssClass="GridView_item_center" Width="40%" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" />
                                    </asp:BoundField>
                                    <asp:BoundField HeaderText="申领人" DataField="RelationSex">
                                        <ItemStyle CssClass="GridView_item_center" Width="10%" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" />
                                    </asp:BoundField>
                                    <asp:BoundField HeaderText="申领部门" DataField="RelationSex">
                                        <ItemStyle CssClass="GridView_item_center" Width="10%" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" />
                                    </asp:BoundField>
                                    <asp:BoundField HeaderText="审批状态" DataField="RelationSex">
                                        <ItemStyle CssClass="GridView_item_center" Width="10%" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" />
                                    </asp:BoundField>
                                    <asp:BoundField HeaderText="审批日期" DataField="RelationSex">
                                        <ItemStyle CssClass="GridView_item_center" Width="10%" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" />
                                    </asp:BoundField>
                                    <asp:CommandField HeaderText="详细" ShowEditButton="True" ButtonType="Image" EditImageUrl="~/images/edit.jpg">
                                        <HeaderStyle CssClass="GridView_head_grayblue" Width="5%" />
                                        <ItemStyle CssClass="GridView_item_center" />
                                    </asp:CommandField>
                                    <asp:CommandField HeaderText="撤销" ShowEditButton="True" ButtonType="Image" EditImageUrl="~/images/edit.jpg">
                                        <HeaderStyle CssClass="GridView_head_grayblue" Width="5%" />
                                        <ItemStyle CssClass="GridView_item_center" />
                                    </asp:CommandField>
                                </Columns>
                                <PagerStyle HorizontalAlign="Right" />
                            </asp:GridView>
                        </td>
                    </tr>
                </table>
            </asp:View>
            <asp:View ID="View2" runat="server">
             <table class="table_border_line">
            <tr>
			    <td align="left" colspan="4" style="height: 17px" >
			    <script language="javascript">
                                (new TitleBar('RegisterBar', '申领单')).showBar();
                </script>
			    </td>						
		      </tr>
            </table>
                <table width="50%">
                    <tr>
                        <td style="width: 52px; height: 19px;">
                            &nbsp;
                        </td>
                        <td style="height: 19px; width: 317px;">
                            申领部门：财务
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 22px" >
                            &nbsp;
                        </td>
                        <td style="height: 22px; width: 317px;" >
                            &nbsp; &nbsp;
                            申领人：张三
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 21px">
                            &nbsp;
                        </td>
                        <td style="height: 21px; width: 317px;"  >
                            审批状态：通过
                        </td>
                    </tr>
                    
                    <tr>
                        <td style="width: 52px; height: 25px;">
                            &nbsp;
                        </td>
                        <td style="height: 25px; width: 317px;">
                            申领日期：2005/11/12
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 52px; height: 23px;">
                            &nbsp;
                        </td>
                        <td style="height: 23px; width: 317px;">
                            申领原因： xxxxxxxxxxxxxxxxxxxxx</td>
                    </tr>
                    <tr>
                        <td style="width: 52px">
                            &nbsp;
                        </td>
                        <td style="width: 317px">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td colspan="2" style="height: 263px">
                            <asp:GridView ID="GridView2" runat="server" CssClass="GridView_table" AutoGenerateColumns="False"
                                AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging">
                                <Columns>
                                    <asp:BoundField HeaderText="类别" DataField="RelationName">
                                        <ItemStyle CssClass="GridView_item_center" Width="30%" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" />
                                    </asp:BoundField>
                                    <asp:BoundField HeaderText="名称" DataField="RelationSex">
                                        <ItemStyle CssClass="GridView_item_center" Width="30%" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" />
                                    </asp:BoundField>
                                    <asp:TemplateField HeaderText="数量">
                                        <EditItemTemplate>
                                            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                                        </EditItemTemplate>
                                        <ItemTemplate>
                                            <asp:Label ID="Label1" runat="server" Text="15"></asp:Label>
                                        </ItemTemplate>
                                        <ItemStyle CssClass="GridView_item_center" Width="10%" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" />
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="单价">
                                        <ItemStyle CssClass="GridView_item_center" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" Width="10%" />
                                        <ItemTemplate>
                                            <asp:Label ID="Label1" runat="server" Text="5.00"></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="合计">
                                        <HeaderStyle CssClass="GridView_head_grayblue" />
                                        <ItemStyle CssClass="GridView_item_center" Width="20%" />
                                        <ItemTemplate>
                                            <asp:Label ID="Label1" runat="server" Text="75.00"></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                                <PagerStyle HorizontalAlign="Right" />
                            </asp:GridView>
                        </td>
                    </tr>
                    </table>
                    
                
                 <table class="table_border_line">
                    <tr>
                        <td align="left"  style="height: 17px">

                            <script language="javascript" type="text/javascript">
                                (new TitleBar('RegisterBar', '审批过程')).showBar();
                            </script>

                        </td>
                    </tr>
                </table>
                <table width="60%">
                <tr>
                        <td style="height: 18px;width:100%" align="center" >
                            <asp:Table ID="Table1" runat="server" Width="100%">
                                <asp:TableRow runat="server" HorizontalAlign="Center">
                                    <asp:TableCell runat="server" HorizontalAlign="Center">审批时间</asp:TableCell>
                                    <asp:TableCell runat="server">审批人</asp:TableCell>
                                    <asp:TableCell runat="server">所属部门</asp:TableCell>
                                    <asp:TableCell runat="server">审批状态</asp:TableCell>
                                    <asp:TableCell runat="server">原因</asp:TableCell>
                                </asp:TableRow>
                                <asp:TableRow runat="server" HorizontalAlign="Center">
                                    <asp:TableCell runat="server">2005/1/1</asp:TableCell>
                                    <asp:TableCell runat="server">小王</asp:TableCell>
                                    <asp:TableCell runat="server">财务</asp:TableCell>
                                    <asp:TableCell runat="server">转批</asp:TableCell>
                                    <asp:TableCell runat="server">xxxxx</asp:TableCell>
                                </asp:TableRow>
                                <asp:TableRow runat="server" HorizontalAlign="Center">
                                    <asp:TableCell runat="server">2005/2/2</asp:TableCell>
                                    <asp:TableCell runat="server">张总</asp:TableCell>
                                    <asp:TableCell runat="server">人事</asp:TableCell>
                                    <asp:TableCell runat="server">通过</asp:TableCell>
                                    <asp:TableCell runat="server">xxxxxxxx</asp:TableCell>
                                </asp:TableRow>
                            </asp:Table>
                        </td>
                    </tr>
                    
                </table>
                
                <table class="table_border_line">
                    <tr>
                        <td align="left"  style="height: 17px">

                            <script language="javascript" type="text/javascript">
                                (new TitleBar('RegisterBar', '审批')).showBar();
                            </script>

                        </td>
                    </tr>
                </table>
                <table width="70%">
                    <tr>
                   <td style="width: 52px; height: 22px;">
                        </td>
                        <td align="left" style="height: 22px; width: 423px;" >
                            &nbsp;&nbsp; 
                          
                        
                            转批人：<asp:DropDownList ID="DropDownList3" runat="server" Width="74px">
                                <asp:ListItem></asp:ListItem>
                                <asp:ListItem>院长</asp:ListItem>
                                <asp:ListItem>主任</asp:ListItem>
                                <asp:ListItem>经理</asp:ListItem>
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                    <td style="width: 52px; height: 17px;">
                        </td>
                        <td align="left" style="height: 17px; width: 423px;" >
                            &nbsp; &nbsp; &nbsp;&nbsp; 备注：
                          </td>
                    </tr>
                    <tr>
                    <td style="width: 52px; height: 86px;">
                        </td>
                        <td align="center" style="width: 423px; height: 86px;" >
                                <textarea name="ctl00$ContentPlaceHolder1$TextBox9" rows="2" cols="20" id="Textarea1" style="height:83px;width:221px;"></textarea>
          
                          </td>
                    </tr>
                    <tr>
                    
                        <td  align="center" style="height: 78px" valign="bottom" colspan="2">
                            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                            &nbsp; 
                            <asp:Button ID="Button5" runat="server" Text="通 过" Width="83px" CssClass="button" />
                            <asp:Button ID="Button3" runat="server" CssClass="button" Text="拒 绝" Width="81px" />
                            <asp:Button ID="Button6" runat="server" Text="转 批" Width="81px" CssClass="button" />
                            <asp:Button ID="Button2" runat="server" Text="退 回" Width="80px" CssClass="button" />
                            <asp:Button ID="Button4" runat="server" Text="返 回" Width="88px" OnClick="Button4_Click" CssClass="button" /></td>
                    </tr>
                </table>
            </asp:View>
        </asp:MultiView>
    </div>
</asp:Content>
